Fix the build with --enable-gtk2-dependency
authorMatthias Clasen <mclasen@redhat.com>
Wed, 2 Feb 2011 06:30:21 +0000 (01:30 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 2 Feb 2011 06:30:21 +0000 (01:30 -0500)
gtk/Makefile.am

index f4dfbe4baf8683188c4c6b1a98d3d738caa8889b..535ecc80b7713d7a764c34cc8200e11ccbbdfa3f 100644 (file)
@@ -1342,7 +1342,9 @@ gtk_update_icon_cache_program = ./gtk-update-icon-cache
 endif
 
 gtkbuiltincache.h: @REBUILD@ stamp-icons
+if !USE_EXTERNAL_ICON_CACHE
        $(AM_V_at) $(MAKE) $(AM_MAKEFLAGS) gtk-update-icon-cache$(EXEEXT) $(GTK_UPDATE_ICON_CACHE_MANIFEST)
+endif
        $(AM_V_GEN) $(gtk_update_icon_cache_program) --quiet --force --ignore-theme-index               \
           --source builtin_icons stock-icons > gtkbuiltincache.h.tmp &&        \
        mv gtkbuiltincache.h.tmp gtkbuiltincache.h